package com.berte.main;

import com.berte.uart.Uart;
import com.berte.ui.uart_ui;

import javax.swing.*;

public class Main {
    public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (Exception e) {
            e.printStackTrace();
        }

        uart_ui ui = new uart_ui();
        JFrame frame = new JFrame("uart_ui");
        frame.setContentPane(ui.getRootJPanel());
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.pack();
        frame.setVisible(true);
    }
}
